home *** CD-ROM | disk | FTP | other *** search
/ Spiceworld The Movie - Interactive CD-ROM / Spiceworld The Movie: Interactive CD-ROM.iso / pc / elements / spicetwo.dir / scripts_82.ls < prev    next >
Encoding:
Text File  |  1997-12-04  |  699 b   |  26 lines

  1. on prepareFrame
  2.   global LOOPFRAME, QUESTIONS
  3.   if not (LOOPFRAME = the frameLabel) then
  4.     initialiseFrame()
  5.     set newQuestion to random(the number of items in QUESTIONS)
  6.     set the memberNum of sprite 3 to value(item newQuestion of QUESTIONS)
  7.     delete item newQuestion of QUESTIONS
  8.     set the visible of sprite 7 to 0
  9.     set the visible of sprite 8 to 0
  10.     set the visible of sprite 9 to 0
  11.     set the visible of sprite 17 to 0
  12.     set the visible of sprite 18 to 0
  13.     set the visible of sprite 51 to 0
  14.     set the visible of sprite 54 to 0
  15.     set the movieRate of sprite 17 to 0
  16.     set the movieTime of sprite 17 to 0
  17.   end if
  18. end
  19.  
  20. on enterFrame
  21. end
  22.  
  23. on exitFrame
  24.   go(the frame)
  25. end
  26.